//#include "stdafx.h"
#include "SIX_Lock.h"

SIX_Mutex::SIX_Mutex()
{
	InitializeCriticalSection(&cc);
}

SIX_Mutex::~SIX_Mutex()
{
	DeleteCriticalSection(&cc);
}

void SIX_Mutex::Enter()
{
	EnterCriticalSection(&cc);
}

void SIX_Mutex::Leave()
{
	LeaveCriticalSection(&cc);
}

int SIX_Mutex::ShowLockCount()
{
	return cc.LockCount;
}